"use strict"
const Controller = require('egg').Controller;
class ProjectController extends Controller {
    // 获取项目/组件的代码
  async getTemplate() {
        const  {ctx} = this
        const result = await ctx.service.project.find()
        ctx.body = result
    }
}
module.exports = ProjectController